<?php
	require_once($_SERVER['DOCUMENT_ROOT']."/classes/Color.class.php");
	require_once($_SERVER['DOCUMENT_ROOT']."/includes/sugar.php");
	session_start();
	$color = new Color($_POST['id']);
	$array['content'] = $color->editForm();
	$array['id'] = $_POST['id'];
	echo json_encode($array);
?>